# 条件测试1: 检查两个字符串相等
str1 = "hello"
str2 = "Hello"
print("Is str1 == str2? I predict False.")
print(str1 == str2)

# 条件测试2: 检查两个字符串不等
str3 = "apple"
str4 = "banana"
print("\nIs str3 != str4? I predict True.")
print(str3 != str4)

# 条件测试3: 使用函数lower()的测试
word = "Python"
print("\nIs word.lower() == 'python'? I predict True.")
print(word.lower() == "python")

# 条件测试4: 检查两个数字相等
num1 = 7
num2 = 7
print("\nIs num1 == num2? I predict True.")
print(num1 == num2)


#使用关键字or的测试
flag3 = True
flag4 = False
print("\nIs flag3 or flag4? I predict True.")
print(flag3 or flag4)

# 测试特定的值是否包含在列表中
fruits = ["apple", "banana", "cherry"]
print("\nIs 'banana' in fruits? I predict True.")
print("banana" in fruits)

# 测试特定的值是否未包含在列表中
colors = ["red", "blue", "green"]
print("\nIs 'yellow' not in colors? I predict True.")
print("yellow" not in colors)
